//
//  SaleModel.m
//  Car
//
//  Created by lanou on 15/9/18.
//  Copyright (c) 2015年 朱鸿儒. All rights reserved.
//

#import "SaleModel.h"

@implementation SaleModel
-(void)setValue:(id)value forUndefinedKey:(NSString *)key{
    if ([key isEqualToString:@"id"]) {
        self.ID = value;
    }
}
+(SaleModel *)JsonWithDictionary:(NSDictionary *)dic{
    SaleModel *model = [[SaleModel alloc]init];
    [model setValuesForKeysWithDictionary:dic];
    return model;
}
@end
